package com.mbc.rmt.dao;

import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.List;

import com.mbc.rmt.data.AgentCOADataList;
import com.mbc.rmt.entities.AgentCOA;
import com.mbc.rmt.entities.AgentCOARpt;

public interface AgentCOADAO {

	public void create(AgentCOA entity) throws SQLException;
	public void update(AgentCOA entity) throws SQLException;
	public void delete(long key) throws SQLException;
	public AgentCOA find(long key) throws SQLException;
	public AgentCOA findByCode(String code,long branchId) throws SQLException;
	public List<AgentCOA> findAll() throws SQLException;
	public AgentCOADataList findAgentCOAs(AgentCOA cri)throws SQLException;
	public AgentCOADataList getAgentCOAList(AgentCOARpt info)throws SQLException;
	ResultSet prepareAgentCOAReport(AgentCOARpt info)throws SQLException;
}
